package org.example.Service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.Dto.LearnHistoryDTO;
import org.example.Entity.LearnHistory;
import org.example.Vo.R;

public interface LearnHistoryService extends IService<LearnHistory> {
    R getRecentSevenDayLearnData(String username);

    R getTodayLearnData(String username);

    R addLearnHistory(LearnHistoryDTO learnHistoryDTO);

}
